import java.sql.Connection;

public class Update implements Operation{
    String update;
    String condition;
    String tableName;
    public Update(String tableName,String update,String condition) {
        this.tableName = tableName;
        this.update = update;
        this.condition = condition;
    }
    @Override
    public String operation() {
        return "update "+tableName+" set "+update+" where "+condition;
    }

}
